package us.gaaoc.framework.dao;

import java.io.Serializable;
import java.util.List;

public interface GenericDAO<T, ID extends Serializable> {

    //public abstract T findById(ID id, boolean lock);
	public abstract T findById(ID id);
    public abstract List<T> findAll();
    public abstract List<T> findByExample(T exampleInstance, String[] excludeProperty);
    public abstract T makePersistent(T entity);
    public abstract void makeTransient(T entity);
}

